package com.lagou.dao;

import com.lagou.pojo.Users;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface UsersDao {

    /**
     * 新增
     * */
    @Insert("insert into users(username,password,address) values(#{username},#{password},#{address})")
    int insertUser(Users users);

}
